package com.bwie.common.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 拼团活动商品表
 * </p>
 *
 * @author liuxin
 * @since 2025-04-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_group_buying_activity_products")
@ApiModel(value="TGroupBuyingActivityProducts对象", description="拼团活动商品表")
public class GroupBuyingActivityProducts implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "拼团活动商品ID")
    @TableId(value = "group_buying_activity_product_id", type = IdType.AUTO)
    private Long groupBuyingActivityProductId;

    @ApiModelProperty(value = "SKU ID")
    private Long skuId;

    @ApiModelProperty(value = "拼团活动ID")
    private Long groupBuyingActivityId;

    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "商品规格")
    private String productSpecification;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "拼团价格")
    private BigDecimal groupBuyingPrice;

    @ApiModelProperty(value = "库存")
    private Integer inventory;

    @ApiModelProperty(value = "销量")
    private Integer sales;

    @ApiModelProperty(value = "商品状态（1:正常, 2:下架）")
    private Integer productStatus;

    @ApiModelProperty(value = "逻辑删除（0:未删除, 1:已删除）")
    private Integer isDeleted;

    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    @ApiModelProperty(value = "修改时间")
    private Date updatedTime;

    @ApiModelProperty(value = "团长 ID")
    private Long leaderId;
}
